﻿using System;
using System.ComponentModel;
using System.Xml.Serialization;
using DevExpress.Xpo;
using DevExpress.Xpo.Metadata;
using DevExpress.Xpo.Helpers;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
namespace Top.Module.Domain
{
    [DefaultClassOptions]
    [Persistent("TopTaoCodeDetail")]
    public class TopTaoCodeDetail : BaseObject
    {
        //begin
        public TopTaoCodeDetail()
        {}
        public TopTaoCodeDetail(Session session) : base(session)
        {}
        public override void AfterConstruction(){base.AfterConstruction();}

        private string _TaoCode;
        public string TaoCode
        {
            get
            {
                return _TaoCode;
            }
            set
            {
                SetPropertyValue("TaoCode", ref _TaoCode, value);
            }
        }
        private string _DirectUrl;
        public string DirectUrl
        {
            get
            {
                return _DirectUrl;
            }
            set
            {
                SetPropertyValue("DirectUrl", ref _DirectUrl, value);
            }
        }
        private long _Type;
        public long Type
        {
            get
            {
                return _Type;
            }
            set
            {
                SetPropertyValue("Type", ref _Type, value);
            }
        }
        private bool _Overdue;
        public bool Overdue
        {
            get
            {
                return _Overdue;
            }
            set
            {
                SetPropertyValue("Overdue", ref _Overdue, value);
            }
        }
        private long _Status;
        public long Status
        {
            get
            {
                return _Status;
            }
            set
            {
                SetPropertyValue("Status", ref _Status, value);
            }
        }
        private string _ItemId;
        public string ItemId
        {
            get
            {
                return _ItemId;
            }
            set
            {
                SetPropertyValue("ItemId", ref _ItemId, value);
            }
        }
        private long _ItemStatus;
        public long ItemStatus
        {
            get
            {
                return _ItemStatus;
            }
            set
            {
                SetPropertyValue("ItemStatus", ref _ItemStatus, value);
            }
        }
        private string _ItemKeywords;
        public string ItemKeywords
        {
            get
            {
                return _ItemKeywords;
            }
            set
            {
                SetPropertyValue("ItemKeywords", ref _ItemKeywords, value);
            }
        }
        private string _ItemCategory;
        public string ItemCategory
        {
            get
            {
                return _ItemCategory;
            }
            set
            {
                SetPropertyValue("ItemCategory", ref _ItemCategory, value);
            }
        }
        private string _ShopId;
        public string ShopId
        {
            get
            {
                return _ShopId;
            }
            set
            {
                SetPropertyValue("ShopId", ref _ShopId, value);
            }
        }
        private long _ShopCategory;
        public long ShopCategory
        {
            get
            {
                return _ShopCategory;
            }
            set
            {
                SetPropertyValue("ShopCategory", ref _ShopCategory, value);
            }
        }
        //end
    }
}
